/*
 
 TopMind jLynx "jLynx JDBC Framework"
 Copyright (c) 2004-2007. TopMind Systems Inc.
 All rights reserved.
 
 This file is part of TopMind jLynx.
 
 TopMind jLynx is free software; you can redistribute it and/or modify
 it under the terms of the License. See website for License.
 
 */
package net.sf.jlynx;

/**
 * Value object to store connection details in memory.
 * 
 * $Id: ConnectionBean.java 99 2007-06-21 02:51:13Z gritc11 $
 * 
 */
class ConnectionBean {

	private int dbVendor;

	private String driver;

	private String jndiDataSource;

	private java.util.Map mappings;

	private String name;

	private String password;

	private String schema;

	private String url;

	private String username;

	public int getDbVendor() {
		return dbVendor;
	}

	public String getDriver() {
		return driver;
	}

	public String getJndiDataSource() {
		return jndiDataSource;
	}

	public java.util.Map getMappings() {
		return mappings;
	}

	public String getName() {
		return name;
	}

	String getPassword() {
		return password;
	}

	public String getSchema() {
		return schema;
	}

	public String getUrl() {
		return url;
	}

	public String getUsername() {
		return username;
	}

	public void setDbVendor(int dbVendor) {
		this.dbVendor = dbVendor;
	}

	public void setDriver(String driver) {
		this.driver = driver;
	}

	public void setJndiDataSource(String jndiDataSource) {
		this.jndiDataSource = jndiDataSource;
	}

	public void setMappings(java.util.Map mappings) {
		this.mappings = mappings;
		// System.out.println(mappings);
	}

	public void setName(String name) {
		this.name = name;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public void setSchema(String schema) {
		this.schema = schema;
	}

	public void setUrl(String url) {
		this.url = url;
		// System.out.println(url);
	}

	public void setUsername(String username) {
		this.username = username;
	}
}